package com.zxy.ziems.server.statistics.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zxy.ziems.server.statistics.pojo.dto.ExhaustGasChemicalsDto;
import com.zxy.ziems.server.statistics.pojo.entity.ExhaustGasChemicalsData;
import com.zxy.ziems.server.statistics.pojo.param.ExhausGasChemicalQueryParam;
import com.zxy.ziems.server.statistics.pojo.vo.ValueLabelVo;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface ExhausGasChemicalService {
    Map<String, ValueLabelVo> buildHeader(String parentClassifyId);

    void addOrUpdate(ExhaustGasChemicalsDto exhaustGasChemicalsDto,String userId);

    Page<ExhaustGasChemicalsData> selectPage(ExhausGasChemicalQueryParam param);

    void importExcel(MultipartFile file,String userId) throws Exception;

    void exportTemplate(HttpServletResponse response);

    void delete(String id);
}
